package com.atguigu.gulimail.product.service;

import com.atguigu.gulimail.product.vo.Catalog2Vo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimail.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author fangyi
 * @email 2244210628@qq.com@gmail.com
 * @date 2022-08-09 22:57:13
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listwithtree();

    void removeMenuByIds(List<Long> asList);

    Long[] findCategoryPath(Long id);

    void updateDetail(CategoryEntity category);

    List<CategoryEntity> getOneCategory();

    Map<String, List<Catalog2Vo>> getCatelogJson();

}

